package com.light.gulimall.product.vo;

import com.light.gulimall.product.entity.SkuImagesEntity;
import com.light.gulimall.product.entity.SkuInfoEntity;
import com.light.gulimall.product.entity.SpuInfoDescEntity;
import com.light.gulimall.product.to.SecKillSkuRedisTO;
import lombok.Data;

import java.util.List;

/**
 * 商品详情
 */
@Data
public class SkuDetailsVO {

    /**
     * sku基本信息
     */
    private SkuInfoEntity skuInfo;

    /**
     * sku图片信息
     */
    private List<SkuImagesEntity> skuImages;


    /**
     * 销售属性组合
     */
    private List<SkuItemSaleAttrVO> skuItemSaleAttr;

    /**
     * SPU 详情介绍
     */
    private SpuInfoDescEntity spuInfo;

    /**
     * spu规格参数信息
     */
    private List<SpuItemBaseAttrVO> spuItemBaseAttr;

    /**
     * 参与秒杀的商品信息
     */
    private SecKillSkuRedisTO secKillSkuRedisTO;

    boolean hasStock = true;



}
